package cn.itcast.mytest;

public class Test05 {
    public static void main(String[] args) {
        String s= "你好%s";
        String s1 = String.format(s, "狗子");
        System.out.println(s1);
    }
}
